package com.woniuxy.entity;

import lombok.Getter;

/**
 * @Author hq
 * @Date 2025/7/14$ 20:27$
 * @Description TODO
 * @Params $
 * @Return $
 **/
@Getter
public enum PaymentStatus {
    PENDING(1, "支付中"),
    SUCCESS(2, "支付成功"),
    FAILED(3, "支付失败"),
    REFUNDED(4, "已退款"),
    CLOSED(5, "已关闭");

    private final int code;
    private final String description;

    PaymentStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
